package cn.lg.soar.common.exceptions;

import cn.lg.soar.common.data.msg.I18n;

/**
 * 权限异常
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public class PermissionException extends BaseAException {

    private static final long serialVersionUID = -3046118545181372286L;

    public PermissionException(){
        super(2, I18n.build("authenticate.unaccredited", "无操作权限"));
    }

    public PermissionException(I18n message, Object...args){
        super(2, message, args);
    }
}
